package org.commandpackage;

public class Invoker {

	private Command command;
//	接受一个命令
	public void setCommand(Command command) {
		this.command = command;
	}
//	执行命令
	public void action(){
		this.command.execute();
	}
}
